﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.Entity
{
    /// <summary>
    /// 贡献值奖励配置规则
    /// </summary>
    public class ScoreConfigInfo
    {
        public ScoreConfigInfo() { }



        #region ===================注册奖励==================================

        private int _reg_score = 0;
        private int _reg_day = 0;
        private int _reg_zhitui = 0;
        private int _reg_jiantui = 0;
        private int _reg_day2 = 0;
        private int _reg_zhitui2 = 0;
        private int _reg_day3 = 0;
        private int _reg_zhitui3 = 0;
        private int _reg_day4 = 0;
        private int _reg_zhitui4 = 0;
        private int _reg_day5 = 0;
        private int _reg_zhitui5 = 0;
        private int _reg_day6 = 0;
        private int _reg_zhitui6 = 0;


        /// <summary>
        /// 本人获得奖励 -注册
        /// </summary>
        public int reg_score
        {
            get { return _reg_score; }
            set { _reg_score = value; }
        }
        /// <summary>
        /// 注册天数 第1至7天 -注册
        /// </summary>
        public int reg_day
        {
            get { return _reg_day; }
            set { _reg_day = value; }
        }

        /// <summary>
        /// 直接推荐人获得奖励 -注册
        /// </summary>
        public int reg_zhitui
        {
            get { return _reg_zhitui; }
            set { _reg_zhitui = value; }
        }
        /// <summary>
        /// 间接推荐人获得奖励（批发商享受伞下）  -注册
        /// </summary>
        public int reg_jiantui
        {
            get { return _reg_jiantui; }
            set { _reg_jiantui = value; }
        }


        /// <summary>
        /// 注册天数2 第8至14天 -注册
        /// </summary>
        public int reg_day2
        {
            get { return _reg_day2; }
            set { _reg_day2 = value; }
        }

        /// <summary>
        /// 直接推荐人获得奖励2 -注册
        /// </summary>
        public int reg_zhitui2
        {
            get { return _reg_zhitui2; }
            set { _reg_zhitui2 = value; }
        }

        /// <summary>
        /// 注册天数3 第15至21天 -注册
        /// </summary>
        public int reg_day3
        {
            get { return _reg_day3; }
            set { _reg_day3 = value; }
        }

        /// <summary>
        /// 直接推荐人获得奖励3 -注册
        /// </summary>
        public int reg_zhitui3
        {
            get { return _reg_zhitui3; }
            set { _reg_zhitui3 = value; }
        }

        /// <summary>
        /// 注册天数4 第22至28天 -注册
        /// </summary>
        public int reg_day4
        {
            get { return _reg_day4; }
            set { _reg_day4 = value; }
        }

        /// <summary>
        /// 直接推荐人获得奖励4 -注册
        /// </summary>
        public int reg_zhitui4
        {
            get { return _reg_zhitui4; }
            set { _reg_zhitui4 = value; }
        }

        /// <summary>
        /// 注册天数5 第29至35天 -注册
        /// </summary>
        public int reg_day5
        {
            get { return _reg_day5; }
            set { _reg_day5 = value; }
        }

        /// <summary>
        /// 直接推荐人获得奖励5 -注册
        /// </summary>
        public int reg_zhitui5
        {
            get { return _reg_zhitui5; }
            set { _reg_zhitui5 = value; }
        }
        /// <summary>
        /// 注册天数6 第36天以后 -注册
        /// </summary>
        public int reg_day6
        {
            get { return _reg_day6; }
            set { _reg_day6 = value; }
        }

        /// <summary>
        /// 直接推荐人获得奖励6 -注册
        /// </summary>
        public int reg_zhitui6
        {
            get { return _reg_zhitui6; }
            set { _reg_zhitui6 = value; }
        }


        #endregion

        #region ===================实名认证奖励==================================

        private int _smrz_man = 0;
        private int _smrz_lady = 0;
        private int _smrz_zhitui_man = 0;
        private int _smrz_zhitui_lady = 0;
        private int _smrz_jiantui_man = 0;
        private int _smrz_jiantui_lady = 0;

        /// <summary>
        /// 用户奖励 -实名认证
        /// </summary>
        public int smrz_man
        {
            get { return _smrz_man; }
            set { _smrz_man = value; }
        }
        /// <summary>
        /// 女士额外奖励 -实名认证
        /// </summary>
        public int smrz_lady
        {
            get { return _smrz_lady; }
            set { _smrz_lady = value; }
        }


        /// <summary>
        /// 推荐获得奖励 -实名认证
        /// </summary>
        public int smrz_zhitui_man
        {
            get { return _smrz_zhitui_man; }
            set { _smrz_zhitui_man = value; }
        }

        /// <summary>
        /// 推荐女士额外获得奖励 -实名认证
        /// </summary>
        public int smrz_zhitui_lady
        {
            get { return _smrz_zhitui_lady; }
            set { _smrz_zhitui_lady = value; }
        }

        /// <summary>
        /// 间推获得奖励（批发商享受伞下）  -实名认证
        /// </summary>
        public int smrz_jiantui_man
        {
            get { return _smrz_jiantui_man; }
            set { _smrz_jiantui_man = value; }
        }
        /// <summary>
        /// 间推女士额外获得奖励（批发商享受伞下）  -实名认证
        /// </summary>
        public int smrz_jiantui_lady
        {
            get { return _smrz_jiantui_lady; }
            set { _smrz_jiantui_lady = value; }
        }
        #endregion

        #region ===================签到奖励==================================

        private int _qiandao_day = 7;
        private string _qiandao_path = "";
        private int _qiandao_score = 5;

        /// <summary>
        /// 签到周期，多少天为一轮 -签到
        /// </summary>
        public int qiandao_day
        {
            get { return _qiandao_day; }
            set { _qiandao_day = value; }
        }
        /// <summary>
        /// 签到奖励 -签到
        /// </summary>
        public int qiandao_score
        {
            get { return _qiandao_score; }
            set { _qiandao_score = value; }
        }
        /// <summary>
        /// 签到奖励路径  -签到
        /// </summary>
        public string qiandao_path
        {
            get { return _qiandao_path; }
            set { _qiandao_path = value; }
        }

        #endregion


        #region ===================阅读文章奖励==================================

        private int _read_score = 0;
        private int _read_fengding = 12;
        private int _read_zhitui = 0;
        private int _read_jiantui = 0;

        private int _read_totalscore = 0;
        private int _read_beishu = 0;
        private int _read_totalscore2 = 0;
        private int _read_beishu2 = 0;
        private int _read_totalscore3 = 0;
        private int _read_beishu3 = 0;
        private int _read_totalscore4 = 0;
        private int _read_beishu4 = 0;
        private int _read_totalscore5 = 0;
        private int _read_beishu5 = 0;
        private int _read_totalscore6 = 0;
        private int _read_beishu6 = 0;
        private int _read_totalscore7 = 0;
        private int _read_beishu7 = 0;
        private int _read_totalscore8 = 0;
        private int _read_beishu8 = 0;
        private int _read_totalscore9 = 0;
        private int _read_beishu9 = 0;

        /// <summary>
        /// 每篇文章奖励 -阅读文章
        /// </summary>
        public int read_score
        {
            get { return _read_score; }
            set { _read_score = value; }
        }
        /// <summary>
        /// 每天奖励上限篇数 -阅读文章
        /// </summary>
        public int read_fengding
        {
            get { return _read_fengding; }
            set { _read_fengding = value; }
        }


        /// <summary>
        /// 推荐人获得奖励 -阅读文章
        /// </summary>
        public int read_zhitui
        {
            get { return _read_zhitui; }
            set { _read_zhitui = value; }
        }

        /// <summary>
        /// 间推人获得奖励（批发商享受伞下） -阅读文章
        /// </summary>
        public int read_jiantui
        {
            get { return _read_jiantui; }
            set { _read_jiantui = value; }
        }

        /// <summary>
        /// 总贡献值要求 -阅读文章
        /// </summary>
        public int read_totalscore
        {
            get { return _read_totalscore; }
            set { _read_totalscore = value; }
        }
        /// <summary>
        /// 额外奖励倍数 -阅读文章
        /// </summary>
        public int read_beishu
        {
            get { return _read_beishu; }
            set { _read_beishu = value; }
        }
        /// <summary>
        /// 总贡献值要求2 -阅读文章
        /// </summary>
        public int read_totalscore2
        {
            get { return _read_totalscore2; }
            set { _read_totalscore2 = value; }
        }
        /// <summary>
        /// 额外奖励倍数2 -阅读文章
        /// </summary>
        public int read_beishu2
        {
            get { return _read_beishu2; }
            set { _read_beishu2 = value; }
        }

        /// <summary>
        /// 总贡献值要求3 -阅读文章
        /// </summary>
        public int read_totalscore3
        {
            get { return _read_totalscore3; }
            set { _read_totalscore3 = value; }
        }
        /// <summary>
        /// 额外奖励倍数3 -阅读文章
        /// </summary>
        public int read_beishu3
        {
            get { return _read_beishu3; }
            set { _read_beishu3 = value; }
        }

        /// <summary>
        /// 总贡献值要求4 -阅读文章
        /// </summary>
        public int read_totalscore4
        {
            get { return _read_totalscore4; }
            set { _read_totalscore4 = value; }
        }
        /// <summary>
        /// 额外奖励倍数4 -阅读文章
        /// </summary>
        public int read_beishu4
        {
            get { return _read_beishu4; }
            set { _read_beishu4 = value; }
        }
        /// <summary>
        /// 总贡献值要求5 -阅读文章
        /// </summary>
        public int read_totalscore5
        {
            get { return _read_totalscore5; }
            set { _read_totalscore5 = value; }
        }
        /// <summary>
        /// 额外奖励倍数5 -阅读文章
        /// </summary>
        public int read_beishu5
        {
            get { return _read_beishu5; }
            set { _read_beishu5 = value; }
        }
        /// <summary>
        /// 总贡献值要求6 -阅读文章
        /// </summary>
        public int read_totalscore6
        {
            get { return _read_totalscore6; }
            set { _read_totalscore6 = value; }
        }
        /// <summary>
        /// 额外奖励倍数6 -阅读文章
        /// </summary>
        public int read_beishu6
        {
            get { return _read_beishu6; }
            set { _read_beishu6 = value; }
        }
        /// <summary>
        /// 总贡献值要求7 -阅读文章
        /// </summary>
        public int read_totalscore7
        {
            get { return _read_totalscore7; }
            set { _read_totalscore7 = value; }
        }
        /// <summary>
        /// 额外奖励倍数7 -阅读文章
        /// </summary>
        public int read_beishu7
        {
            get { return _read_beishu7; }
            set { _read_beishu7 = value; }
        }
        /// <summary>
        /// 总贡献值要求 -阅读文章
        /// </summary>
        public int read_totalscore8
        {
            get { return _read_totalscore8; }
            set { _read_totalscore8 = value; }
        }
        /// <summary>
        /// 额外奖励倍数8 -阅读文章
        /// </summary>
        public int read_beishu8
        {
            get { return _read_beishu8; }
            set { _read_beishu8 = value; }
        }
        /// <summary>
        /// 总贡献值要求9 -阅读文章
        /// </summary>
        public int read_totalscore9
        {
            get { return _read_totalscore9; }
            set { _read_totalscore9 = value; }
        }
        /// <summary>
        /// 额外奖励倍数9 -阅读文章
        /// </summary>
        public int read_beishu9
        {
            get { return _read_beishu9; }
            set { _read_beishu9 = value; }
        }
        #endregion

        #region ===================绑定服务网点奖励==================================

        private int _fwwd_score = 0;
        private int _fwwd_fengding = 3;
        private int _fwwd_service_jl = 0;
        private int _fwwd_self_score = 0;
        private int _fwwd_zhitui_score = 0;
        private int _fwwd_pfs_score = 0;
        private float _fwwd_youxiu_score = 0;

        /// <summary>
        /// 成为服务网点奖励
        /// </summary>
        public int fwwd_self_score
        {
            get { return _fwwd_self_score; }
            set { _fwwd_self_score = value; }
        }
        /// <summary>
        /// 推荐服务网点奖励
        /// </summary>
        public int fwwd_zhitui_score
        {
            get { return _fwwd_zhitui_score; }
            set { _fwwd_zhitui_score = value; }
        }
          /// <summary>
        /// 批发商奖励
        /// </summary>
        public int fwwd_pfs_score
        {
            get { return _fwwd_pfs_score; }
            set { _fwwd_pfs_score = value; }
        }

         /// <summary>
        /// 优秀服务网点奖励（服务网点绑定30名实名认证的用户后，成为优秀服务网点，可获得用户每达到正常释放条件日所得总贡献值的8%贡献值奖励。）
        /// </summary>
        public float fwwd_youxiu_score
        {
            get { return _fwwd_youxiu_score; }
            set { _fwwd_youxiu_score = value; }
        }
        
        
        /// <summary>
        /// 用户获得奖励 -绑定服务网点
        /// </summary>
        public int fwwd_score
        {
            get { return _fwwd_score; }
            set { _fwwd_score = value; }
        }
        /// <summary>
        /// 每人最多绑定数量 -绑定服务网点
        /// </summary>
        public int fwwd_fengding
        {
            get { return _fwwd_fengding; }
            set { _fwwd_fengding = value; }
        }


        /// <summary>
        /// 服务网点获得奖励 -绑定服务网点
        /// </summary>
        public int fwwd_service_jl
        {
            get { return _fwwd_service_jl; }
            set { _fwwd_service_jl = value; }
        }


        #endregion

        #region ===================购物消费奖励（个人店）==================================

        private float _shopAmount = 0;
        private float _shopBalancePer = 0;
        private float _shopHongbaoPer = 0;
        private float _fuwufei = 0;
        private float _maxhongbaoPer = 0;


        private float _xiaofei_score_beishu = 0;
        private float _xiaofei_score_hbbs = 0;
        private float _xiaofei_score_pfs = 0;
        private float _xiaofei_score_service = 0;
        private float _xiaofei_hongbao_per = 0;
        private float _xiaofei_hongbao_zhitui = 0;
        private float _xiaofei_hongbao_pfs = 0;
        private float _xiaofei_hongbao_aixin = 0;

        /// <summary>
        /// 个人店需缴纳的费用 元/年
        /// </summary>
        public float shopAmount
        {
            get { return _shopAmount; }
            set { _shopAmount = value; }
        }
        /// <summary>
        /// 个人店货款结算货款部分 百分比
        /// </summary>
        public float shopBalancePer
        {
            get { return _shopBalancePer; }
            set { _shopBalancePer = value; }
        }
        /// <summary>
        /// 个人店 货款结算红包部分 百分比
        /// </summary>
        public float shopHongbaoPer
        {
            get { return _shopHongbaoPer; }
            set { _shopHongbaoPer = value; }
        }

        /// <summary>
        /// 个人店服务费
        /// </summary>
        public float fuwufei
        {
            get { return _fuwufei; }
            set { _fuwufei = value; }
        }
        /// <summary>
        /// 个人店 优惠红包最多设置百分比
        /// </summary>
        public float maxhongbaoPer
        {
            get { return _maxhongbaoPer; }
            set { _maxhongbaoPer = value; }
        }

        /// <summary>
        /// 个人获得贡献值 零售价的倍数 -购物消费奖励（个人店）
        /// </summary>
        public float xiaofei_score_beishu
        {
            get { return _xiaofei_score_beishu; }
            set { _xiaofei_score_beishu = value; }
        }
        /// <summary>
        /// 个人获得贡献值 总红包值的倍数 -购物消费奖励（个人店）
        /// </summary>
        public float xiaofei_score_hbbs
        {
            get { return _xiaofei_score_hbbs; }
            set { _xiaofei_score_hbbs = value; }
        }


        /// <summary>
        /// 批发商获得奖励 贡献值-购物消费奖励（个人店）
        /// </summary>
        public float xiaofei_score_pfs
        {
            get { return _xiaofei_score_pfs; }
            set { _xiaofei_score_pfs = value; }
        }

        /// <summary>
        /// 服务网点获得奖励 贡献值-购物消费奖励（个人店）
        /// </summary>
        public float xiaofei_score_service
        {
            get { return _xiaofei_score_service; }
            set { _xiaofei_score_service = value; }
        }

        /// <summary>
        /// 个人获得红包 百分比 -购物消费奖励（个人店）
        /// </summary>
        public float xiaofei_hongbao_per
        {
            get { return _xiaofei_hongbao_per; }
            set { _xiaofei_hongbao_per = value; }
        }



        /// <summary>
        /// 直推人获得奖励 红包-购物消费奖励（个人店）
        /// </summary>
        public float xiaofei_hongbao_zhitui
        {
            get { return _xiaofei_hongbao_zhitui; }
            set { _xiaofei_hongbao_zhitui = value; }
        }

        /// <summary>
        /// 批发商获得奖励 红包-购物消费奖励（个人店）
        /// </summary>
        public float xiaofei_hongbao_pfs
        {
            get { return _xiaofei_hongbao_pfs; }
            set { _xiaofei_hongbao_pfs = value; }
        }
        /// <summary>
        /// 爱心公益帐户 红包-购物消费奖励（个人店）
        /// </summary>
        public float xiaofei_hongbao_aixin
        {
            get { return _xiaofei_hongbao_aixin; }
            set { _xiaofei_hongbao_aixin = value; }
        }

        #endregion

        #region ===================购物消费奖励（企业店）==================================

        private float _qy_shopAmount = 0;
        private float _qy_shopBalancePer = 0;
        private float _qy_shopHongbaoPer = 0;
        private float _qy_fuwufei = 0;
        private float _qy_maxhongbaoPer = 0;


        private float _qy_xiaofei_score_beishu = 0;
        private float _qy_xiaofei_score_hbbs = 0;
        private float _qy_xiaofei_score_pfs = 0;
        private float _qy_xiaofei_score_service = 0;
        private float _qy_xiaofei_hongbao_per = 0;
        private float _qy_xiaofei_hongbao_zhitui = 0;
        private float _qy_xiaofei_hongbao_pfs = 0;
        private float _qy_xiaofei_hongbao_aixin = 0;

        /// <summary>
        /// 企业店需缴纳的费用 元/年
        /// </summary>
        public float qy_shopAmount
        {
            get { return _qy_shopAmount; }
            set { _qy_shopAmount = value; }
        }
        /// <summary>
        /// 企业店货款结算货款部分 百分比
        /// </summary>
        public float qy_shopBalancePer
        {
            get { return _qy_shopBalancePer; }
            set { _qy_shopBalancePer = value; }
        }
        /// <summary>
        /// 企业店 货款结算红包部分 百分比
        /// </summary>
        public float qy_shopHongbaoPer
        {
            get { return _qy_shopHongbaoPer; }
            set { _qy_shopHongbaoPer = value; }
        }

        /// <summary>
        /// 企业店 服务费
        /// </summary>
        public float qy_fuwufei
        {
            get { return _qy_fuwufei; }
            set { _qy_fuwufei = value; }
        }
        /// <summary>
        /// 企业店 优惠红包最多设置百分比
        /// </summary>
        public float qy_maxhongbaoPer
        {
            get { return _qy_maxhongbaoPer; }
            set { _qy_maxhongbaoPer = value; }
        }

        /// <summary>
        /// 个人获得贡献值 零售价的倍数 -购物消费奖励（企业店）
        /// </summary>
        public float qy_xiaofei_score_beishu
        {
            get { return _qy_xiaofei_score_beishu; }
            set { _qy_xiaofei_score_beishu = value; }
        }
        /// <summary>
        /// 个人获得贡献值 总红包值的倍数 -购物消费奖励（企业店）
        /// </summary>
        public float qy_xiaofei_score_hbbs
        {
            get { return _qy_xiaofei_score_hbbs; }
            set { _qy_xiaofei_score_hbbs = value; }
        }


        /// <summary>
        /// 批发商获得奖励 贡献值-购物消费奖励（企业店）
        /// </summary>
        public float qy_xiaofei_score_pfs
        {
            get { return _qy_xiaofei_score_pfs; }
            set { _qy_xiaofei_score_pfs = value; }
        }

        /// <summary>
        /// 服务网点获得奖励 贡献值-购物消费奖励（企业店）
        /// </summary>
        public float qy_xiaofei_score_service
        {
            get { return _qy_xiaofei_score_service; }
            set { _qy_xiaofei_score_service = value; }
        }

        /// <summary>
        /// 个人获得红包 百分比 -购物消费奖励（企业店）
        /// </summary>
        public float qy_xiaofei_hongbao_per
        {
            get { return _qy_xiaofei_hongbao_per; }
            set { _qy_xiaofei_hongbao_per = value; }
        }



        /// <summary>
        /// 直推人获得奖励 红包-购物消费奖励（企业店）
        /// </summary>
        public float qy_xiaofei_hongbao_zhitui
        {
            get { return _qy_xiaofei_hongbao_zhitui; }
            set { _qy_xiaofei_hongbao_zhitui = value; }
        }

        /// <summary>
        /// 批发商获得奖励 红包-购物消费奖励（企业店）
        /// </summary>
        public float qy_xiaofei_hongbao_pfs
        {
            get { return _qy_xiaofei_hongbao_pfs; }
            set { _qy_xiaofei_hongbao_pfs = value; }
        }
        /// <summary>
        /// 爱心公益帐户 红包-购物消费奖励（企业店）
        /// </summary>
        public float qy_xiaofei_hongbao_aixin
        {
            get { return _qy_xiaofei_hongbao_aixin; }
            set { _qy_xiaofei_hongbao_aixin = value; }
        }

        #endregion

    }
}
